package com.tyk.bookstore.back.storage.model.vo;

import com.tyk.bookstore.back.common.core.model.page.PageVo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author tyk
 * @description 仓库
 */
@Data
public class WarehousePageVo extends PageVo<WarehousePageVo.Warehouse> {
    @Data
    public static class Warehouse {

        @Schema(description = "ID")
        private Long id;

        @Schema(description = "名字")
        private String name;

        @Schema(description = "所在区域")
        private Long areaCode;

        @Schema(description = "所在区域")
        private String areaFullName;

        @Schema(description = "详细地址")
        private String address;

        @Schema(description = "寄件方ID")
        private Long userId;

        @Schema(description = "负责人名字")
        private String userName;

        @Schema(description = "寄件方姓名")
        private String senderName;

        @Schema(description = "寄件方地址")
        private String senderAddress;

        @Schema(description = "寄件方电话")
        private String senderPhone;

        @Schema(description = "创建时间")
        private LocalDateTime createTime;

        @Schema(description = "修改时间")
        private LocalDateTime updateTime;

    }
}
